home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / reiser4 / item.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  2KB  |  60 lines

  1. /* Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    item.h -- common item functions. */
  5.  
  6. #ifndef REISER4_ITEM_H
  7. #define REISER4_ITEM_H
  8.  
  9. #include <reiser4/types.h>
  10.  
  11. #ifndef ENABLE_MINIMAL
  12. extern rid_t reiser4_item_type(reiser4_place_t *place);
  13. extern bool_t reiser4_item_statdata(reiser4_place_t *place);
  14.  
  15. extern int reiser4_item_mergeable(reiser4_place_t *place1,
  16.                   reiser4_place_t *place2);
  17.  
  18. extern errno_t reiser4_item_update_key(reiser4_place_t *place,
  19.                        reiser4_key_t *key);
  20.  
  21. extern errno_t reiser4_item_maxreal_key(reiser4_place_t *place,
  22.                     reiser4_key_t *key);
  23.  
  24. extern errno_t reiser4_item_update_link(reiser4_place_t *place,
  25.                     blk_t blk);
  26.  
  27. extern uint16_t reiser4_item_overhead(reiser4_plug_t *plug);
  28.  
  29. extern void reiser4_item_set_flag(reiser4_place_t *place, 
  30.                   uint16_t flag);
  31.  
  32. extern void reiser4_item_clear_flag(reiser4_place_t *place, 
  33.                     uint16_t flag);
  34.  
  35. extern void reiser4_item_clear_flags(reiser4_place_t *place);
  36.  
  37. extern bool_t reiser4_item_test_flag(reiser4_place_t *place, 
  38.                      uint16_t flag);
  39.  
  40. extern void reiser4_item_dup_flags(reiser4_place_t *place, 
  41.                        uint16_t flags);
  42.  
  43. extern uint16_t reiser4_item_get_flags(reiser4_place_t *place);
  44.  
  45. extern lookup_t reiser4_item_collision(reiser4_place_t *place, 
  46.                        coll_hint_t *hint);
  47. #endif
  48.  
  49. extern uint32_t reiser4_item_units(reiser4_place_t *place);
  50. extern blk_t reiser4_item_down_link(reiser4_place_t *place);
  51. extern bool_t reiser4_item_branch(reiser4_plug_t *plug);
  52.  
  53. extern errno_t reiser4_item_get_key(reiser4_place_t *place,
  54.                     reiser4_key_t *key);
  55.  
  56. extern errno_t reiser4_item_maxposs_key(reiser4_place_t *place,
  57.                     reiser4_key_t *key);
  58.  
  59. #endif
  60.